/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-03-15     Weihui       the first version
 */
#ifndef APPLICATIONS_BSP_BSP_UART4_H_
#define APPLICATIONS_BSP_BSP_UART4_H_

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include <bsp/bsp.h>

extern int bsp_uart4_init(void);

extern bool bsp_uart4_tx_transmit(uint8_t* buff, uint16_t len);

extern int32_t bsp_uart4_rx_transmit(uint8_t* buff, int32_t wait);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* APPLICATIONS_BSP_BSP_UART4_H_ */
